{% extends "base_template" %}
{% block import %}
{{ super() }}
import integration_tencentcloud_billing_by_instance__main as main
{% endblock %}

{% block account %}
{{ super() }}
{% endblock %}

{% block collect_configs %}
collector_configs = {
    'is_sub_customer': '{{ collector.isSubCustomer | lower }}'
}
{% endblock %}

{% block filters%}
{% endblock %}

{% block run %}
@DFF.API('TencentCloud-Instance-Billing Collection', timeout=300, fixed_crontab="0 6 * * *")
def run():
    Runner(main.DataCollector(account, collector_configs)).run()

{% endblock %}
